import request from '@/utils/request'

//获取登录日志列表
export function getLoginLogList(data){
    return request({
        url:'/log/login',
        method:'post',
        data
    })
}

//获取登录日志详情
export function getLoginLogInfo(id){
    return request({
        url:'/log/loginlog/'+id,
        method:'get'
    })
}

//获取审计日志列表
export function getSystemLogList(data){
    return request({
        url:'/log/system',
        method:'post',
        data
    })
}
//获取审计日志详情
export function getSystemLogInfo(id){
    return request({
        url:'/log/system/'+id,
        method:'get'
    })
}

//获取文件日志列表
export function getFileLogList(data){
    return request({
        url:'/log/file',
        method:'post',
        data
    })
}

//获取文件日志明细
export function getFileLogInfo(id){
    return request({
        url:'/log/filelog/'+id,
        method:'get'
    })
}

//获取客户端日志列表
export function getClientLogList(data){
    return request({
        url:'/log/client',
        method:'post',
        data
    })
}
//获取客户端日志详情
export function getClientLogInfo(id){
    return request({
        url:'/log/client/'+id,
        method:'get'
    })
}